// Learn TypeScript:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html

const { ccclass, property } = cc._decorator;

@ccclass
export default class gameTs extends cc.Component {
    @property(cc.Node)
    keyIcon: cc.Node = null
    @property(cc.Node)
    tipIcon: cc.Node = null
    @property(cc.Node)
    nextIcon: cc.Node = null

    protected onEnable(): void {
        //@ts-ignore
        window.__prv.doAction('体力特权/体力补给站页面', ['hw', this.keyIcon]);
        //@ts-ignore
        window.__prv.doAction('体力特权/体力补给站页面', ['hw', this.tipIcon]);
        //@ts-ignore
        window.__prv.doAction('体力特权/体力补给站页面', ['hw', this.nextIcon]);
    }
}
